import api from '../config.js'//基本配置
import {getUuid} from '../getUUID.js'
import CryptoJS from 'crypto-js'
import {getRandNum} from '../random.js'

/**查询我的派单数**/
export function pdsData(userId) {
	let userIds=userId?userId:getRandNum()
	let url=`
		/api/xy/toc/practiceCenter/v1/getMyDispatchCount
		?appCode=${api.appCode}
		&companyId=${api.companyId}
		&userId=${userIds}
		
	`
    return uni.$http.get(url)
}

//积分累计 服务时长
export function jfAndfwData(userId,id) {
	let userIds=userId?userId:getRandNum()
	let ids=id?id:getRandNum()
	let url=`
		/api/xy/fans/v2/queryFansById?
		?appCode=${api.appCode}
		&companyId=${api.companyId}
		&userId=${userIds}
		&id=${ids}
		
	`
    return uni.$http.get(url)
}




